package org.openharmony.qttool;

import com.intellij.AbstractBundle;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.PropertyKey;

public class HarmonyQtBundle extends AbstractBundle {
//    private static final String BUNDLE_NAME = "messages.HarmonyQtBundle";
    private static final String BUNDLE_NAME = "message.HarmonyQtBundle";

    public static final HarmonyQtBundle INSTANCE = new HarmonyQtBundle();

    public HarmonyQtBundle() {
        super(BUNDLE_NAME);
    }

    @PropertyKey(resourceBundle = BUNDLE_NAME)
    public static String message(@NotNull String key, Object @NotNull ... params) {
        return INSTANCE.getMessage(key, params);
    }
}
